<template>
  <div>
    <el-row :gutter="20">
      <el-col :span="20" :offset="2">
        <!-- 在这里写管理列表 -->
        <div>
          <el-tabs
            v-model="activeName"
            type="border-card"
            @tab-click="handleClick"
          >
            <el-tab-pane label="心理知识管理" name="knowledgeManage">
              <KnowledgeManagePane></KnowledgeManagePane>
            </el-tab-pane>
          </el-tabs>
        </div>
      </el-col>
    </el-row>
  </div>
</template>


<script>
import KnowledgeManagePane from "./KnowledgeManagePane/KnowledgeManagePane.vue";
export default {
  components: {
    KnowledgeManagePane,
  },
  data() {
    return {
      activeName: "knowledgeManage",
    };
  },
  methods: {
    //切换导航栏
    handleClick(tab, event) {
      console.log(tab, event);
    },
  },
};
</script>

<style scoped>
.my-flex {
  display: flex;
  align-items: center;
}
</style>